package com.iven.xie.designpattern.adapter.sms;
/**
 * 大汉三通适配器
 * @author iven.xie
 */
public class DaHanSanTongSmsAdapter implements SmsChannel {
    @Override
    public boolean support(Object adapter) {
        return adapter instanceof DaHanSanTongSmsAdapter;
    }

    @Override
    public String send(String mobile, String context) {
        return "大汉三通手机号："+mobile+"，内容:"+context+"发送短信成功";
    }
}
